package com.hope;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

public class AlarmOnBoot extends BroadcastReceiver{
		AlarmReceiver alarm = new AlarmReceiver();
	    @Override
	    public void onReceive(Context context, Intent intent) {
	        if (intent.getAction().equals("android.intent.action.BOOT_COMPLETED"))
	        {
	            alarm.setAlarm(context);
	        }
	    }
}
